﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Blam_Unity.Classes.Engine.Halo_AA.gameAssetLevel.maps.images
{
    static class readMapImageBLF
    {
        public static int getJIFILength(MojosIO mio)
        {
            long totalLength = mio.StreamLength;

            return (int)totalLength - (0x44 + 0x10B);
        }

        public static byte[] getJIFIImage(MojosIO mio, int imageLength)
        {
            mio.Position = 0x44;
            return mio.ReadBytes(imageLength);
        }
    }

    static class saveMapImageBLF
    {

    }
}
